﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RepoInfrastructure;
using System.Data.Objects.DataClasses;
using System.Data.Entity;

namespace ConferenceRegister.Domain
{
    public class ReadonlyRepository<T> : ContextReadonlyRepository<T, ConferenceEntities> where T : class
    {
        public ReadonlyRepository() { }
        public ReadonlyRepository(DbContext context) : base(context) {} 
    }

    public class Repository<T> : ContextRepository<T, ConferenceEntities> where T : class
    {
        public Repository() { } 
        public Repository(DbContext context) : base(context) { } 
    }
}
